<template>

	<navigationBar title="我的收藏"></navigationBar>
	<fixedIcon></fixedIcon>
	<view class="myCollect">
		<image :src="goLogin" style="width: 300rpx" mode="widthFix"></image>
		<view class="login-tip">登录后才能查看收藏哦</view>
		<view style="color: #FBB20F" @click="login">去登录</view>
	</view>
</template>

<script>
	import goLogin from '@/static/icon/gologin.png';
	import navigationBar from "/components/navigationBar.vue"
	export default {
		components: {
			navigationBar
		},
		data() {
			return {
				goLogin
			}
		},
		// onLoad(e) {

		// 	console.log(e, 'onLoad')
		// },
		// onShow() {
		// 	console.log('onShow')
		// },
		// created() {
		// 	console.log('created')

		// },
		// mounted() {

		// 	console.log('mounted')
		// },
		methods: {
			login() {
				console.log('login')
				uni.navigateTo({
					url: '/pages/login/index'
				})
			}
		}
	}
</script>


<style lang="scss" scoped>
	body {
		background-color: #F5F5F5;
	}

	.myCollect {
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: #F5F5F5;
		padding-top: 170rpx;
		font-size: 26rpx;

		.login-tip {
			margin: 20rpx 0;
			color: #999;
		}

	}
</style>